/*
* @ClassName:ActivityDao.java
* @Description: TODO(������һ�仰��������������) 
* @author: 
*-----------Zihan--���ÿƼ� ��Ȩ����------------
* @date 2016-11-22
*/
package com.daka.dao1;

import com.daka.entity.Activity;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activityDao")
@SQLMapper
public interface ActivityDao {
    Activity findOne(Integer id);
    List<Activity> findByPage(@Param("delstatus") Integer delstatus,@Param("start") Integer start,@Param("limit") Integer limit);
    int findAllCount(@Param("delstatus") Integer delstatus);
    long findByOldId(@Param("oldid") Integer oldid);
}